<!--${_TPL.put('titles',(mtag['tagname'], mtag['title'], '讨论区'))}-->
<!--$embed{"header.htm"}-->
<div class="searchbar">
<form method="post" action="network.html">
	<input name="key" value="" size="26" class="t_input" type="text">
	<input name="searchsubmit" value="搜索话题" class="submit" type="submit">
	<input type="hidden" name="searchmode" value="1" />
	<input type="hidden" name="tagid" value="${mtag['tagid']}" />
	<input type="hidden" name="ac" value="thread" />
</form>
</div>
<h2 class="title">
	<img src="image/app/mtag.gif"><a href="space.html?do=mtag&id=${mtag['fieldid']}">${mtag['title']}</a> -
	<a href="space.html?do=mtag&tagid=${mtag['tagid']}">${mtag['tagname']}</a>
</h2>

<div class="tabs_header">
	<ul class="tabs">
		<li><a href="space.html?do=mtag&tagid=${mtag['tagid']}"><span>首页</span></a></li>
		<li${actives['list']}><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=list"><span>讨论区</span></a></li>
		<li${actives['digest']}><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=digest"><span>精华区</span></a></li>
		<li${actives['member']}><a href="space.html?do=mtag&tagid=${mtag['tagid']}&view=member"><span>成员列表</span></a></li>
		<!--$if{!mtag['member'] && mtag['joinperm'] < 2}-->
		<li class="null"><a href="cp.html?ac=mtag&op=join&tagid=${mtag['tagid']}" id="mtag_join_${mtag['tagid']}" onclick="ajaxmenu(event, this.id, 99999)">加入该群组</a></li>	
		<!--$elseif{ mtag['allowpost']}-->
		<li class="null"><a href="cp.html?ac=thread&tagid=${mtag['tagid']}">发起新话题</a></li>
		<!--$end-->
	</ul>
</div>

<!--$if{ list}-->
<div class="topic_list">
	<table cellspacing="0" cellpadding="0">
		<thead>
			<tr>
				<td class="subject">主题</td>
				<!--$if{!mtag}--><td class="mtag">群组</td><!--$end-->
				<td class="author">作者 (回应/阅读)</td>
				<td class="lastpost">最后更新</td>
			</tr>
		</thead>
		<tbody>
			<!--$for{value:list}-->
			<tr<!--$if{ for.index%2==1}--> class="alt"<!--$end-->>
				<td class="subject">
				<!--$if{ value['displayorder']}--> [顶] <!--$end-->
				<!--$if{ value['digest']}--> [精] <!--$end-->
				<a href="space.html?uid=${value['uid']}&do=thread&id=${value['tid']}">${value['subject']}</a>
				</td>
				<!--$if{!mtag}--><td class="mtag"><a href="space.html?do=mtag&tagid=${value['tagid']}">${value['tagname']}</a></td><!--$end-->
				<td class="author"><a href="space.html?uid=${value['uid']}">${_SN[value['uid']]}</a><br><em>${value['replynum']}/${value['viewnum']}</em></td>
				<td class="lastpost"><a href="space.html?uid=${value['lastauthorid']}" title="${_SN[value['lastauthorid']]}">${_SN[value['lastauthorid']]}</a><br><!--${&com.heaven.web.utils.Common.date('MM-dd HH:mm',value['lastpost'],1)}--></td>
			</tr>
			<!--$end-->
		</tbody>
	</table>
</div>	
<div class="page">${multi}</div>
<!--$else-->
<div class="c_form">还没有相关话题。</div>
<!--$end-->

<!--$embed{"footer.htm"}-->
